package com.spboot.mapper;

import com.spboot.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author guocb
 * @since 2020-04-27
 */
public interface UserMapper extends BaseMapper<User> {
    User login(Long phone,String password);
    User user(Integer userid);
    //更改用户信息
    int updateuser(String username,String phone,String email,Integer userid);
}
